﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NLog;

public partial class Dashboard : System.Web.UI.Page
{
    #region Variables
    private static Logger _logger = LogManager.GetCurrentClassLogger();
    #endregion


    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            PageTitle.Text = "موقع لايف كورة | صفحة المستخدم الرئيسية";
            if (FormsFunction.GetLiveKoraCookie() == null)
            {
                Response.Redirect("User", false);
            }
        }
        catch (Exception ex)
        {
            _logger.Error("Dashboard:::Page_Load:::" + ex.Message);
            throw;
        }
    }
}